home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-03-28 | 1.3 KB | 53 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="Appearance\Desktop\Active Desktop"
- "NAME"="Active Desktop General Options"
- "VERSION"="1.12"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable changing Wallpaper"
- "DESCRIPTION 1"="This plugin allows you to change some settings for Active Desktop."
- "DESCRIPTION 2"=""
- "AUTHOR"="Ojatex@aol.com"
- "CONTACTURL"="http://members.aol.com/ojatex/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Does anybody outside of Redmond really use Active Desktop?"
-
- 'note: 0 = disable restriction, 1 = enable restriction
-
-
- Sub Plugin_Initialize
-
- i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoChangingWallpaper")
- if i=0 or IsEmpty(i) then SetUIElement 1,true
-
-
-
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
-
-
- b=GetUIElement(1)
- if b=false then
- Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoChangingWallpaper","1",2)
- else
- Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop\NoChangingWallpaper","0",2)
- end if
-
- Call Logoff
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-